<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="lr" uri="/jing/yue/loadresource" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>妞妞助手-信息管理</title>
</head>
<body>
	<div class="content">
		<div class="manager">
			<div>
				类型:
				<select id="infotypeid">
					<c:forEach items="${infoTypeList}" var="info">
						<option value="${info.id}">${info.name}</option>
					</c:forEach>
				</select>
				<br />
				内容:<input type="text" id="content" maxlength="140" style="width: 500px;"/>
				<br />
				图片:<input type="file" id="file" name="file" onchange="infoFileUpload();"/>
				<img id="infoLoading" alt="上传中..." src="resources/images/loading.gif" style="display: none;"/>
				<input type="hidden" id="img" />
				<br />
				<input type="button" id="addInfo" class="button" value="添加信息" />
			</div>
			<ul id="resembleInfo"></ul>
			<hr />
			<div>
				<ul class="ullist" id="bodyInfo"><li>没有信息!</li></ul>
				<br clear="all"/>
				<div id="bodyInfoPage"></div>
			</div>
		</div>
	</div>
</body>
<lr:js webroot="${pageContext.request.contextPath}" jslibs="jquery,jqueryColorbox,promptUtil,pageUtil,jqueryLoadmask,loading,ajaxFileUpload,fileUpload,infoManager"/>
</html>